<form role="form" action="<?= site_url(get_uri_string()) ?>" id="form_mantenimiento" enctype="multipart/form-data" method="post">
    <?=get_toolbar(array('accion' => 'editar'));?>
    <?=get_alert(isset($success) ? $success : null, isset($error) ? $error : null);?>
    <div class="row">
        <div class="col-md-6">
            <!-- BEGIN SAMPLE FORM PORTLET-->   
            <div class="portlet box blue">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="icon-reorder"></i> <?= ulang('informacion_del_usuario') ?>
                    </div>
                </div>
                <div class="portlet-body form">
                    <div class="form-body">
                        <div class="form-group">
                            <label for="usu_nick"><?= ulang('usu_nick') ?></label>
                            <input type="text" value="<?= $infousuario ? $infousuario['usu_nick'] : '' ?>" class="form-control" placeholder="<?= ulang('tu') . " " . lang('usu_nick') ?>" name="usu_nick">
                        </div>
                        <div class="form-group">
                            <label><?= ulang('usu_desc') ?></label>
                            <textarea class="form-control" placeholder="<?= ulang('descripcion') ?>" rows="3" name="usu_desc"><?= $infousuario ? $infousuario['usu_desc'] : '' ?></textarea>
                        </div>
                        <div class="form-group">
                            <label><?= ulang('email') ?></label>
                            <div class="input-group">
                                <span class="input-group-addon"><i class="icon-envelope"></i></span>
                                <input type="text" value="<?= $infousuario ? $infousuario['usu_email'] : '' ?>" name="usu_email" class="form-control" placeholder="<?= ulang('usu_email') ?>">
                            </div>
                        </div>
                        <div class="form-group">
                            <label><?= ulang('cambiar_contrasena') ?></label>
                            <div class="row">
                                <div class="col-md-6">
                                    <div class="input-group input-medium">
                                        <input type="password" name="usu_pass" class="form-control" placeholder="<?= ulang('contrasena_actual') ?>">
                                        <span class="input-group-addon"><i class="icon-user"></i></span>
                                    </div>
                                    <span class="help-block"><?= ulang('contrasena_actual') ?></span>
                                </div>
                                <div class="col-md-6">
                                    <div class="input-group input-medium">
                                        <input type="password" name="usu_pass2" class="form-control" placeholder="<?= ulang('nueva_contrasena') ?>">
                                        <span class="input-group-addon"><i class="icon-user"></i></span>
                                    </div>
                                    <span class="help-block"><?= ulang('nueva_contrasena') ?></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- END SAMPLE FORM PORTLET-->
        </div>
        <div class="col-md-6">
            <div class="portlet box red">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="icon-reorder"></i> <?= ulang('informacion_extra') ?>
                    </div>
                </div>
                <div class="portlet-body form">
                    <div class="form-body">
                        <div class="form-group">
                            <label><?= ulang('avatar') ?></label>
                            <input type="file" class="form-control" name="usu_avatar" style="padding-bottom: 40px;"/>
                        </div>
                        <?php if ($infousuario['usu_avatar'] != null) { ?>
                            <div class="form-group">
                                <img src="<?= base_url(AVATAR . $infousuario['usu_avatar']) ?>" width="150"/>
                            </div>
                        <?php } ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</form>